<?php

  /** Permet de d'ajouter une feuille de matche pour la saison courante
   * Auteur : Sebastien Mosser
   */

session_start();
require_once "../../classLoader.php";

$myMaker = HTMLMaker::getSingleton();
$pageInfo = array();
$pageInfo["$@CATPAGE@$"]   = "Matches";
$pageInfo["$@CATURL@$"]    = $myMaker->getServicesUrl()."matches";
$pageInfo["$@PAGETITLE@$"] = "Ajouter une Feuille de Match";

$script = <<<EOS
<script language="javascript" type="text/javascript" charset="utf-8">

addCalendar("MatcheDateCal","Date du Match","matcheDate", "addMatche");

</script>
EOS;

$pageInfo["$@JSCALLBACK@$"] = $script;

aFeature::expose("fAddMatche",$myMaker,$pageInfo);

?>